From: Colin Walters Date: Sat, 4 Jul 2009 23:50:55 +0000 (-0400) Subject: ShellOverflowList: Implement pick X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~11230 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=7a0ce6c57b1f1376c8ce6ef3b938992fa27b0c08;p=gnome-shell.git ShellOverflowList: Implement pick This gives us the correct event behavior. --- diff --git a/src/shell-overflow-list.c b/src/shell-overflow-list.c index c63660f92..b1f418e19 100644 --- a/src/shell-overflow-list.c +++ b/src/shell-overflow-list.c @@ -169,6 +169,21 @@ shell_overflow_list_paint (ClutterActor *actor) g_list_free (children); } +static void +shell_overflow_list_pick (ClutterActor *actor, + const ClutterColor *color) +{ + ShellOverflowList *self = SHELL_OVERFLOW_LIST (actor); + ShellOverflowListPrivate *priv = self->priv; + GList *children, *iter; + int i; + + (CLUTTER_ACTOR_CLASS (g_type_class_peek (clutter_actor_get_type ())))->pick (actor, color); + + shell_overflow_list_paint (self); +} + + static void shell_overflow_list_get_preferred_height (ClutterActor *actor, gfloat for_width, @@ -256,6 +271,7 @@ shell_overflow_list_class_init (ShellOverflowListClass *klass) actor_class->get_preferred_height = shell_overflow_list_get_preferred_height; actor_class->allocate = shell_overflow_list_allocate; actor_class->paint = shell_overflow_list_paint; + actor_class->pick = shell_overflow_list_pick; g_object_class_install_property (gobject_class, PROP_SPACING,